using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class BsOutmatreturndetailEntity : EntityBase
{
public BsOutmatreturndetailTable TableSchema
{
get
{
return (BsOutmatreturndetailTable)_tableSchema;
}}

public BsOutmatreturndetailEntity()
{
_tableSchema = BsOutmatreturndetailTable.Current;
}

#region 属性列表

public Decimal? DetailID
{
get { return Convert.ToDecimal(GetData(BsOutmatreturndetailTable.C_DETAILID)); }
set { SetData(BsOutmatreturndetailTable.C_DETAILID, value); }
}

public String BillID
{
get { return Convert.ToString(GetData(BsOutmatreturndetailTable.C_BILLID)); }
set { SetData(BsOutmatreturndetailTable.C_BILLID, value); }
}

public Decimal? OutOrderDetailID
{
get { return Convert.ToDecimal(GetData(BsOutmatreturndetailTable.C_OUTORDERDETAILID)); }
set { SetData(BsOutmatreturndetailTable.C_OUTORDERDETAILID, value); }
}

public Decimal? Nums
{
get { return Convert.ToDecimal(GetData(BsOutmatreturndetailTable.C_NUMS)); }
set { SetData(BsOutmatreturndetailTable.C_NUMS, value); }
}

public String ReturnReason
{
get { return Convert.ToString(GetData(BsOutmatreturndetailTable.C_RETURNREASON)); }
set { SetData(BsOutmatreturndetailTable.C_RETURNREASON, value); }
}

public Decimal? CompensateAmount
{
get { return Convert.ToDecimal(GetData(BsOutmatreturndetailTable.C_COMPENSATEAMOUNT)); }
set { SetData(BsOutmatreturndetailTable.C_COMPENSATEAMOUNT, value); }
}

public String MaterialID
{
get { return Convert.ToString(GetData(BsOutmatreturndetailTable.C_MATERIALID)); }
set { SetData(BsOutmatreturndetailTable.C_MATERIALID, value); }
}

#endregion
}
}